package com.mlt.back.service.impl;

import com.mlt.back.beans.Category;
import com.mlt.back.dao.CategoryDao;
import com.mlt.back.dao.impl.CategoryDaoImpl;
import com.mlt.back.service.CategoryService;

import java.util.List;

public class CategoryServiceImpl implements CategoryService {
    private CategoryDao categoryDao=new CategoryDaoImpl();
    @Override
    public List<Category> selectAll() {
        List<Category> categoryList=categoryDao.selectAll();
        return categoryList;
    }
}
